Description

Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.

INFO

Published Date :

Dec. 2, 2024, 8:15 p.m.

Last Modified :

Oct. 1, 2025, 6:24 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-53900 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Mongoosejs mongoose
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL 134c704f-9b21-4f2e-91b3-4a467353bcc0
Public PoC/Exploit Available at Github

CVE-2024-53900 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-53900.

URL Resource
https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md Release Notes
https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156 Patch
https://github.com/Automattic/mongoose/releases Release Notes
https://github.com/advisories/GHSA-m7xq-9374-9rvx Vendor Advisory
https://www.npmjs.com/package/mongoose?activeTab=versions Product
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-53900 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Dockerfile JavaScript EJS Python

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Aug. 19, 2025, 10:20 a.m. This repo has been linked 1 different CVEs too.

mongoose-cve-lab

Dockerfile JavaScript

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Aug. 19, 2025, 5:15 a.m. This repo has been linked 2 different CVEs too.

Mongo Vulnub Lab...Try to Hack IT.....!

HTML JavaScript CSS

Updated: 6 months ago
0 stars 0 fork 0 watcher
Born at : April 3, 2025, 5:01 p.m. This repo has been linked 1 different CVEs too.

None

HTML Python Shell

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 13, 2025, 8:50 a.m. This repo has been linked 891 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-53900 vulnerability anywhere in the article.

  • TheCyberThrone
MongoDB is affected by Twin Critical Vulnerabilities

CVE-2025-23061: Mongoose Search Injection VulnerabilityDescription: CVE-2025-23061 is a critical vulnerability identified in Mongoose versions prior to 8.9.5. The vulnerability arises due to the impro ... Read more

Published Date: Feb 21, 2025 (7 months, 2 weeks ago)
  • The Register
Critical flaws in Mongoose library expose MongoDB to data thieves, code execution

Security sleuths found two critical vulnerabilities in a third-party library that MongoDB relies on, which means bad guys can potentially steal data and run code. Mongoose is an Object Data Modeling ( ... Read more

Published Date: Feb 20, 2025 (7 months, 2 weeks ago)

The following table lists the changes that have been made to the CVE-2024-53900 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Oct. 01, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:* versions up to (excluding) 6.13.5 *cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:* versions from (including) 7.0.1 up to (excluding) 7.8.3 *cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:* versions from (including) 8.0.1 up to (excluding) 8.8.3 *cpe:2.3:a:mongoosejs:mongoose:7.0.0:rc0:*:*:*:node.js:*:* *cpe:2.3:a:mongoosejs:mongoose:8.0.0:rc0:*:*:*:node.js:*:*
    Added Reference Type MITRE: https://github.com/advisories/GHSA-m7xq-9374-9rvx Types: Vendor Advisory
    Added Reference Type MITRE: https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md Types: Release Notes
    Added Reference Type MITRE: https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156 Types: Patch
    Added Reference Type MITRE: https://github.com/Automattic/mongoose/releases Types: Release Notes
    Added Reference Type MITRE: https://www.npmjs.com/package/mongoose?activeTab=versions Types: Product
  • CVE Modified by [email protected]

    Dec. 04, 2024

    Action Type Old Value New Value
    Changed Description Mongoose before 8.8.3 can improperly use $where in match. Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.
    Added Reference https://github.com/advisories/GHSA-m7xq-9374-9rvx
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Dec. 03, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    Removed CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-89
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Dec. 03, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • New CVE Received by [email protected]

    Dec. 02, 2024

    Action Type Old Value New Value
    Added Description Mongoose before 8.8.3 can improperly use $where in match.
    Added Reference https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md
    Added Reference https://github.com/Automattic/mongoose/commit/c9e86bff7eef477da75a29af62a06d41a835a156
    Added Reference https://github.com/Automattic/mongoose/releases
    Added Reference https://www.npmjs.com/package/mongoose?activeTab=versions
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact